//
//  FXTHttpResponseModel.h
//  OfferJob
//
//  Created by 郑州动力无限科技 on 2017/6/30.
//  Copyright © 2017年 郑州动力无限科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FXTResponseDelegate.h"

typedef NS_ENUM(NSUInteger, FXTReponseCodeState) {
    FXTReponseCodeState_Success =1,  // 成功
    FXTReponseCodeState_NoData, // 成功没数据
    FXTReponseCodeState_NoParams,  // 成功，但是参数不完整
    FXTReponseCodeState_Faild,  // 失败
    
};
@interface FXTHttpResponseModel : NSObject<FXTResponseDelegate>
@property(nonatomic,assign,readonly) FXTReponseCodeState state;// 根据返回的code值，包装返回的整体数据状态
@property (nonatomic, assign, readonly) NSInteger code;   //结果
@property (nonatomic, copy, readonly) NSString *alertMsg;   //提示信息
@property (nonatomic, assign, readonly) id data;   //数据
@property (nonatomic, strong, readonly) NSError *error;  //业务错误
@end
